<?php
defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
defined('YII_DEBUG') or define('YII_DEBUG',true);

$rootPath = dirname(__FILE__);

require($rootPath . '/vendor/yii/framework/yii.php');
require($rootPath . '/common/YCmf.php');

$config = CMap::mergeArray(
	require($rootPath. '/frontend/config/common.php'),
	require($rootPath. '/frontend/config/main.php')
);

YCmf::createFrontendApplication($config)->run();
